﻿namespace Joy.Erp.BasicArchives.Suppliers
{
    public class SupplierConsts
    {
        /// <summary>
        /// 供应商名称字段是否必填
        /// </summary>
        public static bool NameRequired { get; set; } = true;

        /// <summary>
        /// 供应商名称字段长度
        /// </summary>
        public static int NameMaxLength { get; set; } = 200;

        /// <summary>
        /// 供应商简称字段是否必填
        /// </summary>
        public static bool ShortNameRequired { get; set; } = true;

        /// <summary>
        /// 供应商简称字段长度
        /// </summary>
        public static int ShortNameMaxLength { get; set; } = 50;

        /// <summary>
        /// 联系人字段长度
        /// </summary>
        public static int ContactMaxLength { get; set; } = 50;

        /// <summary>
        /// 联系电话字段长度
        /// </summary>
        public static int PhoneMaxLength { get; set; } = 20;

        /// <summary>
        /// 地址字段长度
        /// </summary>
        public static int AddressMaxLength { get; set; } = 500;
    }
}
